import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 徐海涛
 * Date: 2022-05-08
 * Time: 16:05
 */
public  class TestDemo1 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int count = 0;
        for(int i = 2;i < Math.sqrt(n);i++) {
            if(n % i == 0) {
                while (n % i == 0) {
                    n = n/i;
                }
                count++;
            }
        }
        if(n != 1) {
            count++;
        }
        System.out.println(count);
        System.out.println();
    }

}